package com.bzframework.example.cloud.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author bingzhong
 * @Date 2025/10/25
 */
@FeignClient(name = "user-service")
public interface UserServiceClient {

    @GetMapping("/user/{id}")
    String getUserById(@PathVariable String id);

}
